assume cs:codesg,ds:datasg

datasg segment
	x dw 10
	y dw -25   ;X=10,Y=-25
     z1 dw ?
     z2 dw ?
     z3 dw ?
datasg ends

codesg segment
start:mov ax,datasg
	mov ds,ax

	mov ax,x
	add ax,y
	mov z1,ax  ;Z1=AX=X+Y

	mov ax,x
	sub ax,y
	mov z2,ax ;Z2=AX=X-Y

	mov ax,x
	mov bx,y
	imul bx
	mov z3,ax ;Z3=AX=X*Y

	mov ax,4c00h
	int 21h
codesg ends
end start
